import board import digitalio import time led = digitalio.DigitalInOut(board.GP26) #Led position led.direction = digitalio.Direction.OUTPUT # Led is an output object. while True: # Turn on a Led with TRUE led.value = True time.sleep(1) # Turn off a Led with TRUE led.value = False time.sleep(1)